package com.carassistant.beta.common;
/****
 * 定义常量类
 * @author james
 *
 */
public class Consts {
	/****
	 * 音乐常理类（MusicMainActivity）常理定义
	 */
	public static final int SLIDING_MENU_SCAN = 0;// 侧滑->扫描歌曲
	public static final int SLIDING_MENU_ALL = 1;// 侧滑->全部歌曲
	public static final int SLIDING_MENU_FAVORITE = 2;// 侧滑->我的最爱
	public static final int SLIDING_MENU_FOLDER = 3;// 侧滑->文件夹
	public static final int SLIDING_MENU_EXIT = 4;// 侧滑->退出程序
	public static final int SLIDING_MENU_FOLDER_LIST = 5;// 侧滑->文件夹->文件夹列表

	public static final int DIALOG_DISMISS = 0;// 对话框消失
	public static final int DIALOG_SCAN = 1;// 扫描对话框
	public static final int DIALOG_MENU_REMOVE = 2;// 歌曲列表移除对话框
	public static final int DIALOG_MENU_DELETE = 3;// 歌曲列表提示删除对话框
	public static final int DIALOG_MENU_INFO = 4;// 歌曲详情对话框
	public static final int DIALOG_DELETE = 5;// 歌曲删除对话框

	public static final String PREFERENCES_NAME = "settings";// SharedPreferences名称
	public static final String PREFERENCES_MODE = "mode";// 存储播放模式
	public static final String PREFERENCES_SCAN = "scan";// 存储是否扫描过
	public static final String PREFERENCES_SKIN = "skin";// 存储背景图
	public static final String PREFERENCES_LYRIC = "lyric";// 存储歌词高亮颜色

	public static final String BROADCAST_ACTION_SCAN = "com.cwd.cmeplayer.action.scan";// 扫描广播标志
	public static final String BROADCAST_ACTION_MENU = "com.cwd.cmeplayer.action.menu";// 弹出菜单广播标志
	public static final String BROADCAST_ACTION_FAVORITE = "com.cwd.cmeplayer.action.favorite";// 喜爱广播标志
	public static final String BROADCAST_ACTION_EXIT = "com.cwd.cmeplayer.action.exit";// 退出程序广播标志
	public static final String BROADCAST_INTENT_PAGE = "com.cwd.cmeplayer.intent.page";// 页面状态
	public static final String BROADCAST_INTENT_POSITION = "com.cwd.cmeplayer.intent.position";// 歌曲索引

	//对话框
	public static final int MESSAGE_OK=6;//确定
	public static final int MESSAGE_NO=7;//取消
	public static final int MESSAGE_ONLY=8;//只需要一个确定按钮
	
	//布局
	public static final String NAME_SPACE="http://schemas.android.com/apk/res/com.carassistant.beta.common";
}
